package com.smedi.ismedi.constructionproject.core.application.query.vo;

import io.swagger.annotations.ApiModelProperty;
import lombok.*;

import javax.validation.constraints.Digits;
import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;
import java.math.BigDecimal;
import java.time.LocalDate;

/**
 * @Author: xulinjun
 * @Date: 2021-6-18 15:22
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@EqualsAndHashCode(callSuper = false)
public class ProjectVo {

    private Long id;

    private Long hrOrganizationId;

    private String projectName;

    private String projectCode;

    private String projectShortName;

    private String projectManager;

    private String mobile;

    private String constructionPermit;

    private String projectCategory;

    private BigDecimal projectCost;

    private String projectStatus;

    private String projectAddress;

    private String projectAddressProvince;

    private String projectAddressCity;

    private String projectMapLocation;

    private LocalDate contractSigningDate;

    private LocalDate contractDurationBegin;

    private LocalDate contractDurationEnd;

    private LocalDate actualDurationBegin;

    private LocalDate actualDurationEnd;

    private String epcType;

    private String epcUnit;

    private String projectMember;

    private String generalContractor;

    private String supervisionUnit;

    private String monitorType;

    private Integer vividProgress;

    private LocalDate vividProgressUpdatedDate;

    private String regionPicture;

    private String organizationPicture;

    private String entrustBook;

    private BigDecimal contractCost;

    /**
     * 合同数
     */
    private BigDecimal contractNum;

    public BigDecimal getContractNum() {
        return new BigDecimal("1");
    }
}
